// samsting : this file is auto create.

#include "Yundun/2015-04-16/WafInfoResponse.h"

namespace aliyun { namespace Yundun {

WafInfoResponse::WafInfoResponse() {
}

int WafInfoResponse::WafInfo::GetId(void) const {
  return Id_;
}

const string& WafInfoResponse::WafInfo::GetDomain(void) const {
  return Domain_;
}

const string& WafInfoResponse::WafInfo::GetCname(void) const {
  return Cname_;
}

int WafInfoResponse::WafInfo::GetStatus(void) const {
  return Status_;
}

const std::vector<WafInfoResponse::WafInfo>& WafInfoResponse::GetWafInfos(void) const {
  return WafInfos_;
}

int WafInfoResponse::GetWafDomainNum(void) const {
  return WafDomainNum_;
}

const char* WafInfoResponse::BaseKey(void) {
  return "WafInfoResponse";
}

void WafInfoResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int WafInfos__length = 0;
  UnmarshallerInt(WafInfos__length, response_map, "WafInfoResponse.WafInfos.Length");
  if(WafInfos__length >= 0) {
    WafInfos_.resize(WafInfos__length);
    for(int i1 = 0; i1 < WafInfos__length; i1++) {
      UnmarshallerInt(WafInfos_[i1].Id_, response_map, "WafInfoResponse.WafInfos["+string_ValueOfInt(i1)+"].Id");
      UnmarshallerString(WafInfos_[i1].Domain_, response_map, "WafInfoResponse.WafInfos["+string_ValueOfInt(i1)+"].Domain");
      UnmarshallerString(WafInfos_[i1].Cname_, response_map, "WafInfoResponse.WafInfos["+string_ValueOfInt(i1)+"].Cname");
      UnmarshallerInt(WafInfos_[i1].Status_, response_map, "WafInfoResponse.WafInfos["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < WafInfos__length; i1++) {
  } // if(WafInfos__length >= 0) {

  UnmarshallerInt(WafDomainNum_, response_map, "WafInfoResponse.WafDomainNum");
}


} } // namespace aliyun { namespace Yundun {

// end of file 
